/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package sunsite.service;

import java.util.List;
import sunsite.dao.UniversityDao;
import sunsite.po.University;

/**
 *
 * @author Ruby
 */
public class UniversityServiceImpl implements UniversityService{

    private UniversityDao universityDao;
    
    public List<sunsite.po.University> getUniversityList() {
        return universityDao.getUniversityList();
    }

    public void setUniversityDao(UniversityDao universityDao) {
        this.universityDao = universityDao;
    }

    public University getUniversity(int uniId) {
        return universityDao.getUniversityById(uniId);
    }
}
